package org.study.shardingsphere.ds;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * 方法描述
 *
 * @author Administrator
 */
@SpringBootApplication
@MapperScan(basePackages = {"org.study.shardingsphere.ds.mapper"})
public class ShardingSphereDsApplication {
    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(ShardingSphereDsApplication.class, args);
        /*String[] beanDefinitionNames = context.getBeanDefinitionNames();
        for (String beanName : beanDefinitionNames) {
            System.out.println(">>>>> Bean名称：" + beanName + "\n\tBean类型：" + context.getBean(beanName).getClass());
        }*/
    }
}
